#ifndef __DEADPROXYEVENTLOGMESSAGE_h__
#define __DEADPROXYEVENTLOGMESSAGE_h__

#ifndef WX_PRECOMP
	#include <wx/wx.h>
#else
	#include <wx/wxprec.h>
#endif

class wxLogMessageEvent : public wxNotifyEvent 
{
public:

    wxLogMessageEvent(wxEventType commandType=wxEVT_NULL, int id = 0);

    wxLogMessageEvent(const wxLogMessageEvent &clone) : wxNotifyEvent(clone)
    {
        this->output = clone.output;
    }

    virtual wxEvent *Clone() const
    {   return new wxLogMessageEvent(*this);     }

    virtual ~wxLogMessageEvent();
    
    void SetMessage(wxString * message);
    wxString* GetMessage();

    private:
    wxString * output;

    DECLARE_DYNAMIC_CLASS(wxLogMessageEvent)
};

#define wxLOG_MESSAGE_ID      11001

DECLARE_EVENT_TYPE(wxEVT_LOG_MESSAGE, wxLOG_MESSAGE_ID)

typedef void (wxEvtHandler::*wxLogMessageEventFunction)(wxLogMessageEvent&);

#define EVT_LOG_MESSAGE(winid, fn) DECLARE_EVENT_TABLE_ENTRY( wxEVT_LOG_MESSAGE, winid, wxID_ANY, (wxObjectEventFunction) (wxEventFunction) (wxLogMessageEventFunction) & fn, (wxObject *) NULL ),

#endif
